<%@ Page Language="C#" Inherits="System.Web.Mvc.ViewPage<DesigningViews.Models.User>" %>
<%@ Import Namespace="DesigningViews.Controllers"%>
<%@ Import Namespace="DesigningViews.Helpers"%>

<% if (Model == null)  { %>
	Welcome!
    [ <%= Html.ActionLink<AuthController>("Log In", c => c.Login()) %> ]	
<% } else { %>
    Welcome <strong><%= Model.Name %></strong>!
    [ <%= Html.ActionLink<AuthController>("Log Off", c => c.Logout()) %> ]
<% } %>